package com.csg.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;


import com.csg.entity.Game;
import com.csg.entity.Pass;



public interface GameService {
	public List<Game> selectAllGoals();
	public List<Game> selectAllPalyBalls();
	public List<Game> selectAllScores();

	public Game selectPalyBalls(Integer id);
	public boolean updatePalyBall(Game game);
	public boolean savePalyBall(Game game);
	public boolean deleteGoal(Integer id);	
	public boolean deletePalyBall(Integer id);	
	public boolean deleteScore(Integer id);	
	
	public Game selectGoals(Integer id);
	public boolean updateGoal(Game game);
	public boolean saveGoal(Game game);
	
	public Game selectScores(Integer id);
	public boolean updateScore(Game game);
	public boolean saveScore(Game game);
	
	public List<Game> selectAllDoubleResults();
	public Game selectDoubleResults(Integer id);
	public boolean updateDoubleResult(Game game);
	public boolean saveDoubleResult(Game game);
	public boolean deleteDoubleResult(Integer id);	
	
	public List<Game> selectAllPasss();

	public Game selectPasss(Integer id);
	public boolean updatePass(Game game);
	public boolean savePass(Game game);
	public boolean deletePass(Integer id);	
	
	
	public List<Game> selectAllGames();
	public Game selectGames(Integer id);
	public boolean saveGame(Game game);
}
